﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Serviio.API
{
    public class ServiioSharedFolder
    {
        public string Id { get; private set; }
        public string FolderPath { get; set; }
        public bool ShareAudio { get; set; }
        public bool ShareImages { get; set; }
        public bool ShareVideo { get; set; }
        public bool DescriptiveMetadataSupported { get; set; }
        public bool ScanForUpdates { get; set; }

        public ServiioSharedFolder(string folderPath, bool shareAudio, bool shareImages, bool shareVideo, bool descriptiveMetadataSupported, bool scanForUpdates)
        {
            Id = null;
            FolderPath = folderPath;
            ShareAudio = shareAudio;
            ShareImages = shareImages;
            ShareVideo = shareVideo;
            DescriptiveMetadataSupported = descriptiveMetadataSupported;
            ScanForUpdates = scanForUpdates;
        }

        public ServiioSharedFolder(string id, string folderPath, bool shareAudio, bool shareImages, bool shareVideo, bool descriptiveMetadataSupported, bool scanForUpdates)
        {
            Id = id;
            FolderPath = folderPath;
            ShareAudio = shareAudio;
            ShareImages = shareImages;
            ShareVideo = shareVideo;
            DescriptiveMetadataSupported = descriptiveMetadataSupported;
            ScanForUpdates = scanForUpdates;
        }
    }
}
